Skip to content

Conversation

@sapenlei
Copy link
Contributor

…parse v1 only

description

  • Update PDFLoader failure message to explicitly state that only pdf-parse v1 is supported and provide a concrete install command example (npm install pdf-parse@^1).
  • Addresses user confusion when installing pdf-parse v2 by making the version requirement explicit.
  • pdf-parse latest version is v2 and is incompatible with current implementation; previous message was vague and led users to install v2 inadvertently.

@changeset-bot
Copy link

changeset-bot bot commented Oct 22, 2025

🦋 Changeset detected

Latest commit: 546568f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@langchain/community Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Member

@christian-bromann christian-bromann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@christian-bromann christian-bromann merged commit e4a3b3b into langchain-ai:main Nov 7, 2025
2 checks passed
@github-actions github-actions bot added community Issues related to `@langchain/community` pkg:@langchain/community labels Nov 7, 2025
@sapenlei sapenlei deleted the improve/pdf-parse-install-error-message branch November 7, 2025 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community Issues related to `@langchain/community` pkg:@langchain/community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants